package com.chenwut.threadDemo.threadsafe3;

/**
 * @author ChenPi
 * @since 2024/09/19 09:51
 */
public class ThreadDemo {
    public static void main(String[] args) {
        MyThread m1 = new MyThread();
        MyThread m2 = new MyThread();
        MyThread m3 = new MyThread();

        m1.setName("线程1");
        m2.setName("线程2");
        m3.setName("线程3");


        m1.start();
        m2.start();
        m3.start();

    }
}
